<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<!-- 实现时间的显示功能，(Date)
要求能显示星期几，年月日，小时分钟秒 -->
		<script>
			let time = new Date();
			let timeInfo =
				(time.getFullYear() + '年' + time.getMonth() + '月' + time.getDate() + '日' + time.getHours() + ':' + time
					.getMinutes() + ':' + time.getSeconds())
			document.write(timeInfo);
			
		</script>
	</head>
	<body>


	</body>
</html>
